package cn.ts.today_school.mapper;

import cn.ts.today_school.pojo.entity.User;
import cn.ts.today_school.pojo.vo.UserVO;

import java.util.List;

public interface UserMapper {
    /**
     * 根据用户名查询
     */
    UserVO findByUsername(String username);
    /**
     * 根据邮箱查询
     */
    UserVO findByEmail(String email);

    /**
     * 添加用户
     */
    int addUser(User user);
}
